<!DOCTYPE html>
<html>
{%include file="header.html"%}
<style>
table{text-align: center;}
th a{ color:#000000;}
</style>
<body>
<div class="fixed-bar">
	<div class="item-title">
		<h3>配送方式</h3>
		<div style="background:rgba(251,112,45,1);width:125px;height:40px;float:right;text-align:center;border-radius:5px;">
        	<a href="shipping.php?act=edit">
           		<h5 style="padding:10px;color:#fff;">添加配送方式</h5>
        	</a>
    	</div>
	</div>
</div>
<div class="fixed_bottom">
	<from>
		<table align="center;" class="table tb-type2">
		<thead>
			<th>名称</th>
			<th>描述</th>
			<th>货到付款</th>
			<th>排序</th>
			<th>操作</th>
		</thead>
			{%foreach $shipping_list item=list key=k%}
				<tr>
					<td>{%$list.shipping_name%}</td>
					<td width='420x;'>{%$list.shipping_desc%}</td>
					<td>
					 {%if $list.support_cod==1%}
					是{%else%}
					否{%/if%}
					</td>
					<td>{%$list.shipping_order%}</td>
					<td><a href="shipping_area.php?act=list&shipping={%$list.shipping_id%}">编辑配送区域</a>
					<a href="shipping.php?act=del&id={%$list.shipping_id%}">删除</a>
					<a href="shipping.php?act=edit&id={%$list.shipping_id%}">修改</a>
					</td>
				</tr>
			{%/foreach%}
		</table>
	</from>
</div>
</body>
</html>